//
//  TTScreenItemModel.h
//  TaoTuo
//
//  Created by LG on 2020/11/17.
//  Copyright © 2020 刘广. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface LLScreenItemModel : NSObject

/// 值
@property (nonatomic, copy) NSString *value;
/// 要显示的标题
@property (nonatomic, copy) NSString *title;
/// 是否选中了
@property (nonatomic, assign) BOOL isSelected;

/// 标题前面可能会有图片
@property (nonatomic, nullable, copy)  NSString *btnImageName;

/// 后面带的单位：比如 分、# 等等
@property (nonatomic, nullable, copy) NSString *unitString;

/// 图片名称，有可能是图片，也可能是标题
@property (nonatomic, copy)  NSString *imageName;

/// 是否可以选中
@property (nonatomic, assign) BOOL isEnable;

@property (nonatomic, copy) NSString *rightIcon;

+ (instancetype)setModelWithTitle:(NSString *)title value:(NSString *)value isEnable:(BOOL)isEnable;
+ (instancetype)setModelWithValue:(NSString *)value unitString:(nullable NSString *)unitString;
+ (instancetype)setModelWithValue:(NSString *)value unitString:(nullable NSString *)unitString btnImageName:(NSString *)btnImageName;

+ (instancetype)setModelWithValue:(NSString *)value unitString:(nullable NSString *)unitString imageName:(nullable NSString *)imageName;

@end

NS_ASSUME_NONNULL_END
